
get-ip5:     file format elf64-x86-64


Disassembly of section .init:

0000000000001000 <_init>:
    1000:	f3 0f 1e fa          	endbr64 
    1004:	48 83 ec 08          	sub    $0x8,%rsp
    1008:	48 8b 05 d9 2f 00 00 	mov    0x2fd9(%rip),%rax        # 3fe8 <__gmon_start__>
    100f:	48 85 c0             	test   %rax,%rax
    1012:	74 02                	je     1016 <_init+0x16>
    1014:	ff d0                	callq  *%rax
    1016:	48 83 c4 08          	add    $0x8,%rsp
    101a:	c3                   	retq   

Disassembly of section .plt:

0000000000001020 <.plt>:
    1020:	ff 35 6a 2f 00 00    	pushq  0x2f6a(%rip)        # 3f90 <_GLOBAL_OFFSET_TABLE_+0x8>
    1026:	f2 ff 25 6b 2f 00 00 	bnd jmpq *0x2f6b(%rip)        # 3f98 <_GLOBAL_OFFSET_TABLE_+0x10>
    102d:	0f 1f 00             	nopl   (%rax)
    1030:	f3 0f 1e fa          	endbr64 
    1034:	68 00 00 00 00       	pushq  $0x0
    1039:	f2 e9 e1 ff ff ff    	bnd jmpq 1020 <.plt>
    103f:	90                   	nop
    1040:	f3 0f 1e fa          	endbr64 
    1044:	68 01 00 00 00       	pushq  $0x1
    1049:	f2 e9 d1 ff ff ff    	bnd jmpq 1020 <.plt>
    104f:	90                   	nop
    1050:	f3 0f 1e fa          	endbr64 
    1054:	68 02 00 00 00       	pushq  $0x2
    1059:	f2 e9 c1 ff ff ff    	bnd jmpq 1020 <.plt>
    105f:	90                   	nop
    1060:	f3 0f 1e fa          	endbr64 
    1064:	68 03 00 00 00       	pushq  $0x3
    1069:	f2 e9 b1 ff ff ff    	bnd jmpq 1020 <.plt>
    106f:	90                   	nop
    1070:	f3 0f 1e fa          	endbr64 
    1074:	68 04 00 00 00       	pushq  $0x4
    1079:	f2 e9 a1 ff ff ff    	bnd jmpq 1020 <.plt>
    107f:	90                   	nop
    1080:	f3 0f 1e fa          	endbr64 
    1084:	68 05 00 00 00       	pushq  $0x5
    1089:	f2 e9 91 ff ff ff    	bnd jmpq 1020 <.plt>
    108f:	90                   	nop
    1090:	f3 0f 1e fa          	endbr64 
    1094:	68 06 00 00 00       	pushq  $0x6
    1099:	f2 e9 81 ff ff ff    	bnd jmpq 1020 <.plt>
    109f:	90                   	nop

Disassembly of section .plt.got:

00000000000010a0 <__cxa_finalize@plt>:
    10a0:	f3 0f 1e fa          	endbr64 
    10a4:	f2 ff 25 4d 2f 00 00 	bnd jmpq *0x2f4d(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    10ab:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .plt.sec:

00000000000010b0 <inet_ntoa@plt>:
    10b0:	f3 0f 1e fa          	endbr64 
    10b4:	f2 ff 25 e5 2e 00 00 	bnd jmpq *0x2ee5(%rip)        # 3fa0 <inet_ntoa@GLIBC_2.2.5>
    10bb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010c0 <__stack_chk_fail@plt>:
    10c0:	f3 0f 1e fa          	endbr64 
    10c4:	f2 ff 25 dd 2e 00 00 	bnd jmpq *0x2edd(%rip)        # 3fa8 <__stack_chk_fail@GLIBC_2.4>
    10cb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010d0 <printf@plt>:
    10d0:	f3 0f 1e fa          	endbr64 
    10d4:	f2 ff 25 d5 2e 00 00 	bnd jmpq *0x2ed5(%rip)        # 3fb0 <printf@GLIBC_2.2.5>
    10db:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010e0 <memset@plt>:
    10e0:	f3 0f 1e fa          	endbr64 
    10e4:	f2 ff 25 cd 2e 00 00 	bnd jmpq *0x2ecd(%rip)        # 3fb8 <memset@GLIBC_2.2.5>
    10eb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

00000000000010f0 <ioctl@plt>:
    10f0:	f3 0f 1e fa          	endbr64 
    10f4:	f2 ff 25 c5 2e 00 00 	bnd jmpq *0x2ec5(%rip)        # 3fc0 <ioctl@GLIBC_2.2.5>
    10fb:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001100 <close@plt>:
    1100:	f3 0f 1e fa          	endbr64 
    1104:	f2 ff 25 bd 2e 00 00 	bnd jmpq *0x2ebd(%rip)        # 3fc8 <close@GLIBC_2.2.5>
    110b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

0000000000001110 <socket@plt>:
    1110:	f3 0f 1e fa          	endbr64 
    1114:	f2 ff 25 b5 2e 00 00 	bnd jmpq *0x2eb5(%rip)        # 3fd0 <socket@GLIBC_2.2.5>
    111b:	0f 1f 44 00 00       	nopl   0x0(%rax,%rax,1)

Disassembly of section .text:

0000000000001120 <_start>:
    1120:	f3 0f 1e fa          	endbr64 
    1124:	31 ed                	xor    %ebp,%ebp
    1126:	49 89 d1             	mov    %rdx,%r9
    1129:	5e                   	pop    %rsi
    112a:	48 89 e2             	mov    %rsp,%rdx
    112d:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
    1131:	50                   	push   %rax
    1132:	54                   	push   %rsp
    1133:	4c 8d 05 26 03 00 00 	lea    0x326(%rip),%r8        # 1460 <__libc_csu_fini>
    113a:	48 8d 0d af 02 00 00 	lea    0x2af(%rip),%rcx        # 13f0 <__libc_csu_init>
    1141:	48 8d 3d 50 02 00 00 	lea    0x250(%rip),%rdi        # 1398 <main>
    1148:	ff 15 92 2e 00 00    	callq  *0x2e92(%rip)        # 3fe0 <__libc_start_main@GLIBC_2.2.5>
    114e:	f4                   	hlt    
    114f:	90                   	nop

0000000000001150 <deregister_tm_clones>:
    1150:	48 8d 3d b9 2e 00 00 	lea    0x2eb9(%rip),%rdi        # 4010 <__TMC_END__>
    1157:	48 8d 05 b2 2e 00 00 	lea    0x2eb2(%rip),%rax        # 4010 <__TMC_END__>
    115e:	48 39 f8             	cmp    %rdi,%rax
    1161:	74 15                	je     1178 <deregister_tm_clones+0x28>
    1163:	48 8b 05 6e 2e 00 00 	mov    0x2e6e(%rip),%rax        # 3fd8 <_ITM_deregisterTMCloneTable>
    116a:	48 85 c0             	test   %rax,%rax
    116d:	74 09                	je     1178 <deregister_tm_clones+0x28>
    116f:	ff e0                	jmpq   *%rax
    1171:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1178:	c3                   	retq   
    1179:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001180 <register_tm_clones>:
    1180:	48 8d 3d 89 2e 00 00 	lea    0x2e89(%rip),%rdi        # 4010 <__TMC_END__>
    1187:	48 8d 35 82 2e 00 00 	lea    0x2e82(%rip),%rsi        # 4010 <__TMC_END__>
    118e:	48 29 fe             	sub    %rdi,%rsi
    1191:	48 89 f0             	mov    %rsi,%rax
    1194:	48 c1 ee 3f          	shr    $0x3f,%rsi
    1198:	48 c1 f8 03          	sar    $0x3,%rax
    119c:	48 01 c6             	add    %rax,%rsi
    119f:	48 d1 fe             	sar    %rsi
    11a2:	74 14                	je     11b8 <register_tm_clones+0x38>
    11a4:	48 8b 05 45 2e 00 00 	mov    0x2e45(%rip),%rax        # 3ff0 <_ITM_registerTMCloneTable>
    11ab:	48 85 c0             	test   %rax,%rax
    11ae:	74 08                	je     11b8 <register_tm_clones+0x38>
    11b0:	ff e0                	jmpq   *%rax
    11b2:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
    11b8:	c3                   	retq   
    11b9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

00000000000011c0 <__do_global_dtors_aux>:
    11c0:	f3 0f 1e fa          	endbr64 
    11c4:	80 3d 45 2e 00 00 00 	cmpb   $0x0,0x2e45(%rip)        # 4010 <__TMC_END__>
    11cb:	75 2b                	jne    11f8 <__do_global_dtors_aux+0x38>
    11cd:	55                   	push   %rbp
    11ce:	48 83 3d 22 2e 00 00 	cmpq   $0x0,0x2e22(%rip)        # 3ff8 <__cxa_finalize@GLIBC_2.2.5>
    11d5:	00 
    11d6:	48 89 e5             	mov    %rsp,%rbp
    11d9:	74 0c                	je     11e7 <__do_global_dtors_aux+0x27>
    11db:	48 8b 3d 26 2e 00 00 	mov    0x2e26(%rip),%rdi        # 4008 <__dso_handle>
    11e2:	e8 b9 fe ff ff       	callq  10a0 <__cxa_finalize@plt>
    11e7:	e8 64 ff ff ff       	callq  1150 <deregister_tm_clones>
    11ec:	c6 05 1d 2e 00 00 01 	movb   $0x1,0x2e1d(%rip)        # 4010 <__TMC_END__>
    11f3:	5d                   	pop    %rbp
    11f4:	c3                   	retq   
    11f5:	0f 1f 00             	nopl   (%rax)
    11f8:	c3                   	retq   
    11f9:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000001200 <frame_dummy>:
    1200:	f3 0f 1e fa          	endbr64 
    1204:	e9 77 ff ff ff       	jmpq   1180 <register_tm_clones>

0000000000001209 <get_local_ip>:
    1209:	f3 0f 1e fa          	endbr64 
    120d:	55                   	push   %rbp
    120e:	48 89 e5             	mov    %rsp,%rbp
    1211:	48 81 ec c0 02 00 00 	sub    $0x2c0,%rsp
    1218:	48 89 bd 48 fd ff ff 	mov    %rdi,-0x2b8(%rbp)
    121f:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    1226:	00 00 
    1228:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    122c:	31 c0                	xor    %eax,%eax
    122e:	c7 85 58 fd ff ff 00 	movl   $0x0,-0x2a8(%rbp)
    1235:	00 00 00 
    1238:	ba 00 00 00 00       	mov    $0x0,%edx
    123d:	be 02 00 00 00       	mov    $0x2,%esi
    1242:	bf 02 00 00 00       	mov    $0x2,%edi
    1247:	e8 c4 fe ff ff       	callq  1110 <socket@plt>
    124c:	89 85 5c fd ff ff    	mov    %eax,-0x2a4(%rbp)
    1252:	83 bd 5c fd ff ff 00 	cmpl   $0x0,-0x2a4(%rbp)
    1259:	0f 88 23 01 00 00    	js     1382 <get_local_ip+0x179>
    125f:	c7 85 60 fd ff ff 80 	movl   $0x280,-0x2a0(%rbp)
    1266:	02 00 00 
    1269:	48 8d 85 70 fd ff ff 	lea    -0x290(%rbp),%rax
    1270:	48 89 85 68 fd ff ff 	mov    %rax,-0x298(%rbp)
    1277:	48 8d 95 60 fd ff ff 	lea    -0x2a0(%rbp),%rdx
    127e:	8b 85 5c fd ff ff    	mov    -0x2a4(%rbp),%eax
    1284:	be 12 89 00 00       	mov    $0x8912,%esi
    1289:	89 c7                	mov    %eax,%edi
    128b:	b8 00 00 00 00       	mov    $0x0,%eax
    1290:	e8 5b fe ff ff       	callq  10f0 <ioctl@plt>
    1295:	85 c0                	test   %eax,%eax
    1297:	0f 85 cc 00 00 00    	jne    1369 <get_local_ip+0x160>
    129d:	8b 85 60 fd ff ff    	mov    -0x2a0(%rbp),%eax
    12a3:	48 98                	cltq   
    12a5:	48 ba cd cc cc cc cc 	movabs $0xcccccccccccccccd,%rdx
    12ac:	cc cc cc 
    12af:	48 f7 e2             	mul    %rdx
    12b2:	48 89 d0             	mov    %rdx,%rax
    12b5:	48 c1 e8 05          	shr    $0x5,%rax
    12b9:	89 85 54 fd ff ff    	mov    %eax,-0x2ac(%rbp)
    12bf:	e9 8e 00 00 00       	jmpq   1352 <get_local_ip+0x149>
    12c4:	48 8d 8d 70 fd ff ff 	lea    -0x290(%rbp),%rcx
    12cb:	8b 85 54 fd ff ff    	mov    -0x2ac(%rbp),%eax
    12d1:	48 63 d0             	movslq %eax,%rdx
    12d4:	48 89 d0             	mov    %rdx,%rax
    12d7:	48 c1 e0 02          	shl    $0x2,%rax
    12db:	48 01 d0             	add    %rdx,%rax
    12de:	48 c1 e0 03          	shl    $0x3,%rax
    12e2:	48 8d 14 01          	lea    (%rcx,%rax,1),%rdx
    12e6:	8b 85 5c fd ff ff    	mov    -0x2a4(%rbp),%eax
    12ec:	be 15 89 00 00       	mov    $0x8915,%esi
    12f1:	89 c7                	mov    %eax,%edi
    12f3:	b8 00 00 00 00       	mov    $0x0,%eax
    12f8:	e8 f3 fd ff ff       	callq  10f0 <ioctl@plt>
    12fd:	85 c0                	test   %eax,%eax
    12ff:	75 51                	jne    1352 <get_local_ip+0x149>
    1301:	48 8d 8d 70 fd ff ff 	lea    -0x290(%rbp),%rcx
    1308:	8b 85 54 fd ff ff    	mov    -0x2ac(%rbp),%eax
    130e:	48 63 d0             	movslq %eax,%rdx
    1311:	48 89 d0             	mov    %rdx,%rax
    1314:	48 c1 e0 02          	shl    $0x2,%rax
    1318:	48 01 d0             	add    %rdx,%rax
    131b:	48 c1 e0 03          	shl    $0x3,%rax
    131f:	48 83 c0 10          	add    $0x10,%rax
    1323:	48 01 c8             	add    %rcx,%rax
    1326:	8b 40 04             	mov    0x4(%rax),%eax
    1329:	89 c7                	mov    %eax,%edi
    132b:	e8 80 fd ff ff       	callq  10b0 <inet_ntoa@plt>
    1330:	48 89 85 48 fd ff ff 	mov    %rax,-0x2b8(%rbp)
    1337:	48 8b 85 48 fd ff ff 	mov    -0x2b8(%rbp),%rax
    133e:	48 89 c6             	mov    %rax,%rsi
    1341:	48 8d 3d bc 0c 00 00 	lea    0xcbc(%rip),%rdi        # 2004 <_IO_stdin_used+0x4>
    1348:	b8 00 00 00 00       	mov    $0x0,%eax
    134d:	e8 7e fd ff ff       	callq  10d0 <printf@plt>
    1352:	8b 85 54 fd ff ff    	mov    -0x2ac(%rbp),%eax
    1358:	8d 50 ff             	lea    -0x1(%rax),%edx
    135b:	89 95 54 fd ff ff    	mov    %edx,-0x2ac(%rbp)
    1361:	85 c0                	test   %eax,%eax
    1363:	0f 8f 5b ff ff ff    	jg     12c4 <get_local_ip+0xbb>
    1369:	8b 85 5c fd ff ff    	mov    -0x2a4(%rbp),%eax
    136f:	89 c7                	mov    %eax,%edi
    1371:	b8 00 00 00 00       	mov    $0x0,%eax
    1376:	e8 85 fd ff ff       	callq  1100 <close@plt>
    137b:	b8 00 00 00 00       	mov    $0x0,%eax
    1380:	eb 00                	jmp    1382 <get_local_ip+0x179>
    1382:	48 8b 4d f8          	mov    -0x8(%rbp),%rcx
    1386:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    138d:	00 00 
    138f:	74 05                	je     1396 <get_local_ip+0x18d>
    1391:	e8 2a fd ff ff       	callq  10c0 <__stack_chk_fail@plt>
    1396:	c9                   	leaveq 
    1397:	c3                   	retq   

0000000000001398 <main>:
    1398:	f3 0f 1e fa          	endbr64 
    139c:	55                   	push   %rbp
    139d:	48 89 e5             	mov    %rsp,%rbp
    13a0:	48 83 ec 50          	sub    $0x50,%rsp
    13a4:	64 48 8b 04 25 28 00 	mov    %fs:0x28,%rax
    13ab:	00 00 
    13ad:	48 89 45 f8          	mov    %rax,-0x8(%rbp)
    13b1:	31 c0                	xor    %eax,%eax
    13b3:	48 8d 45 b0          	lea    -0x50(%rbp),%rax
    13b7:	ba 40 00 00 00       	mov    $0x40,%edx
    13bc:	be 00 00 00 00       	mov    $0x0,%esi
    13c1:	48 89 c7             	mov    %rax,%rdi
    13c4:	e8 17 fd ff ff       	callq  10e0 <memset@plt>
    13c9:	48 8d 45 b0          	lea    -0x50(%rbp),%rax
    13cd:	48 89 c7             	mov    %rax,%rdi
    13d0:	e8 34 fe ff ff       	callq  1209 <get_local_ip>
    13d5:	b8 00 00 00 00       	mov    $0x0,%eax
    13da:	48 8b 4d f8          	mov    -0x8(%rbp),%rcx
    13de:	64 48 33 0c 25 28 00 	xor    %fs:0x28,%rcx
    13e5:	00 00 
    13e7:	74 05                	je     13ee <main+0x56>
    13e9:	e8 d2 fc ff ff       	callq  10c0 <__stack_chk_fail@plt>
    13ee:	c9                   	leaveq 
    13ef:	c3                   	retq   

00000000000013f0 <__libc_csu_init>:
    13f0:	f3 0f 1e fa          	endbr64 
    13f4:	41 57                	push   %r15
    13f6:	4c 8d 3d 7b 29 00 00 	lea    0x297b(%rip),%r15        # 3d78 <__frame_dummy_init_array_entry>
    13fd:	41 56                	push   %r14
    13ff:	49 89 d6             	mov    %rdx,%r14
    1402:	41 55                	push   %r13
    1404:	49 89 f5             	mov    %rsi,%r13
    1407:	41 54                	push   %r12
    1409:	41 89 fc             	mov    %edi,%r12d
    140c:	55                   	push   %rbp
    140d:	48 8d 2d 6c 29 00 00 	lea    0x296c(%rip),%rbp        # 3d80 <__do_global_dtors_aux_fini_array_entry>
    1414:	53                   	push   %rbx
    1415:	4c 29 fd             	sub    %r15,%rbp
    1418:	48 83 ec 08          	sub    $0x8,%rsp
    141c:	e8 df fb ff ff       	callq  1000 <_init>
    1421:	48 c1 fd 03          	sar    $0x3,%rbp
    1425:	74 1f                	je     1446 <__libc_csu_init+0x56>
    1427:	31 db                	xor    %ebx,%ebx
    1429:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)
    1430:	4c 89 f2             	mov    %r14,%rdx
    1433:	4c 89 ee             	mov    %r13,%rsi
    1436:	44 89 e7             	mov    %r12d,%edi
    1439:	41 ff 14 df          	callq  *(%r15,%rbx,8)
    143d:	48 83 c3 01          	add    $0x1,%rbx
    1441:	48 39 dd             	cmp    %rbx,%rbp
    1444:	75 ea                	jne    1430 <__libc_csu_init+0x40>
    1446:	48 83 c4 08          	add    $0x8,%rsp
    144a:	5b                   	pop    %rbx
    144b:	5d                   	pop    %rbp
    144c:	41 5c                	pop    %r12
    144e:	41 5d                	pop    %r13
    1450:	41 5e                	pop    %r14
    1452:	41 5f                	pop    %r15
    1454:	c3                   	retq   
    1455:	66 66 2e 0f 1f 84 00 	data16 nopw %cs:0x0(%rax,%rax,1)
    145c:	00 00 00 00 

0000000000001460 <__libc_csu_fini>:
    1460:	f3 0f 1e fa          	endbr64 
    1464:	c3                   	retq   

Disassembly of section .fini:

0000000000001468 <_fini>:
    1468:	f3 0f 1e fa          	endbr64 
    146c:	48 83 ec 08          	sub    $0x8,%rsp
    1470:	48 83 c4 08          	add    $0x8,%rsp
    1474:	c3                   	retq   
